﻿using System.Collections.Generic;
using System.Xml.Serialization;

namespace RTMBindings.Responses
{
    [XmlRoot("rsp")]
    public class RTMGetListResponse : RTMSuccessReponse
    {
        [XmlElement("tasks")]
        public RTMTasks Tasks { get; set; }
        
    }

    public class RTMTasks
    {
        [XmlAttribute("rev")]
        public string Revision { get; set; }

        [XmlElement("list")]
        public List<RTMList> Lists { get; set; }
    }

}
